package com.imchen.cms.cmscommon.utils;

import org.springframework.boot.system.ApplicationHome;

/**
 * @author imchen
 * @create: 2019-01-17 15:22
 **/
public class FileUtil {

    public static String getJarRunDirectory(){
        ApplicationHome home =new ApplicationHome(FileUtil.class);
        return  home.getSource().getParent();
    }
}